using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._Fields
{
    /// <summary>
    /// <para>Add GPS Metadata Fields</para>
    /// <para>Adds GNSS fields to a feature class in a geodatabase.</para>
    /// <para>将 GNSS 字段添加到地理数据库中的要素类。</para>
    /// </summary>    
    [DisplayName("Add GPS Metadata Fields")]
    public class AddGPSMetadataFields : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public AddGPSMetadataFields()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_point_features">
        /// <para>Input Point Features</para>
        /// <para>The input point feature class to be updated.</para>
        /// <para>要更新的输入点要素类。</para>
        /// </param>
        public AddGPSMetadataFields(object _in_point_features)
        {
            this._in_point_features = _in_point_features;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Add GPS Metadata Fields";

        public override string CallName => "management.AddGPSMetadataFields";

        public override List<string> AcceptEnvironments => ["workspace"];

        public override object[] ParameterInfo => [_in_point_features, _updated_point_features];

        /// <summary>
        /// <para>Input Point Features</para>
        /// <para>The input point feature class to be updated.</para>
        /// <para>要更新的输入点要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Point Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_point_features { get; set; }


        /// <summary>
        /// <para>Updated Point Features</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Point Features")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _updated_point_features { get; set; }


        public AddGPSMetadataFields SetEnv(object workspace = null)
        {
            base.SetEnv(workspace: workspace);
            return this;
        }

    }

}